// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ECharts from 'vue-echarts/components/ECharts.vue'
import axios from 'axios'
import 'font-awesome/css/font-awesome.css'
import 'animate.css/animate.min.css'
import moment from 'moment'
import 'ant-design-vue/dist/antd.css'
import Antd from 'ant-design-vue'
Vue.use(Antd)

Vue.config.productionTip = false
Vue.component('chart', ECharts)
Vue.prototype.$http = axios
Vue.filter('datefmt', function (input, fmtstring) {
  return moment(input).format(fmtstring)
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
